<div>
	<form id="frmTeam" class="form-horizontal">
		<input name="teamId" type="hidden">
		<div class="form-group">
			<label class="control-label col-xs-2"><span class="must-msg">*&nbsp;</span>队伍名:</label>
			<div class="col-xs-4">
				<input name="teamName" type="text" class="form-control validate[required,max[100]]" 
					data-errormessage-value-missing="队伍不能为空"
					placeholder="请输入队伍名">
			</div>
			<label class="control-label col-xs-2">所属主题:</label>
			<div class="col-xs-4">
				<select name="themeId" class="form-control">
					
				</select>
			</div>
		</div>
		<div class="form-group">
			<label class="control-label col-xs-2"><span class="must-msg">*&nbsp;</span>队长:</label>
			<div class="col-xs-4">
				<select name="teamUserId" class="form-control">
					
				</select>
			</div>
			<label class="control-label col-xs-2">是否公开:</label>
			<div class="col-xs-4">
				<div class="input-group">
					<label for="public1" style="margin-top: 5px;font-weight:normal;"><input type="radio" id="public1" name="public" checked aria-label="不公开">不公开</label> 
					<label for="public2" style="margin-top: 5px;font-weight:normal;"><input type="radio" id="public2" name="public" aria-label="公开">公开</label>
				</div>
			</div>
		</div>
		<div class="form-group">
			<label class="control-label col-xs-2">入场时间:</label>
			<div class="col-xs-4">
				<input name="startDate" id="startDate" type="text" class="form-control validate[custom[date]]" 
					data-errormessage-custom-error="入场时间不正确"
					placeholder="请选择入场时间">
			</div>
			<label class="control-label col-xs-2">通关时间:</label>
			<div class="col-xs-4">
				<input name="passDate" id="passDate" type="text" class="form-control validate[custom[date]]" 
					data-errormessage-custom-error="通关时间不正确"
					placeholder="请选择通关时间">
			</div>
		</div>
		<div class="form-group">
			<label class="control-label col-xs-2">过关时间:</label>
			<div class="col-xs-4">
				<input name="endDate" id="endDate" type="text" class="form-control validate[custom[date]]" 
					data-errormessage-custom-error="过关时间不正确"
					placeholder="请选择过关时间">
			</div>
			<label class="control-label col-xs-2">状态:</label>
			<div class="col-xs-4">
				<div class="input-group text-center" >
					<label for="status1"  style="margin-top: 5px;font-weight:normal;"><input type="radio" id="status1" name="status" checked aria-label="不可用">不可用</label>
					<label for="status2"  style="margin-top: 5px;font-weight:normal;"><input type="radio" id="status2" name="status" aria-label="可用">可用</label>
				</div>
			</div>
		</div>
	</form>
</div>
<script type="text/template" id="lst_theme_js">
{{? it==null || it.length==0}}
	<option value=0>暂无主题</option>
{{??}}
	{{~it:value:index}}
	<option value={{=value.themeId}}>{{=value.themeName}}</option>
	{{~}}
{{?}}
</script>
<script type="text/template" id="lst_user_js">
{{? it==null || it.length==0}}
	<option value=0>暂无数据</option>
{{??}}
	{{~it:value:index}}
	<option value={{=value.userId}}>{{=value.nickname}}</option>
	{{~}}
{{?}}
</script>
<script type="text/javascript">
$(function(){
	$("[id$='Date']").datetimepicker({
		lang:'ch',//中文化
		timepicker:true,//关闭时间选择器
		format:'Y-m-d',//时间格式
		validateOnBlur:false,//插件离开时选择时间
		closeOnWithoutClick:true //点击日历插件外面自动关闭
	});
	//添加数据
	
});
</script>
